﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers.data {

    public class PatientPoolVO {

        private var _petType:String;
        private var _diseaseId:int;
        private var _diseaseName:String;
        private var _duration:int;
        private var _durationType:String;
        private var _treatments:Array;
        private var _coins:int;
        private var _xp:int;
        private var _minLevel:int;
        private var _waiting:Boolean;
        private var _missingRoomTypes:Array;
        private var _hasMinLevel:Boolean;
        private var _rewardIcon:String;
        private var _numberOfRewards:int;

        public function PatientPoolVO(_arg1:Object){
            this._missingRoomTypes = [];
            super();
            this._petType = _arg1.pet_name;
            this._diseaseName = _arg1.disease_name;
            this._duration = int(_arg1.min);
            this._treatments = (_arg1.treatments as Array);
            this._coins = int(_arg1.coins);
            this._xp = int(_arg1.xp);
            this._minLevel = int(_arg1.required_level);
            this._durationType = _arg1.duration_type;
            this._rewardIcon = _arg1.reward_icon;
            this._numberOfRewards = _arg1.number_of_rewards;
        }
        public function get petType():String{
            return (this._petType);
        }
        public function set diseaseId(_arg1:int):void{
            this._diseaseId = _arg1;
        }
        public function get diseaseId():int{
            return (this._diseaseId);
        }
        public function get diseaseName():String{
            return (this._diseaseName);
        }
        public function get duration():int{
            return (this._duration);
        }
        public function get durationType():String{
            return (this._durationType);
        }
        public function get treatments():Array{
            return (this._treatments);
        }
        public function get minLevel():int{
            return (this._minLevel);
        }
        public function get xp():int{
            return (this._xp);
        }
        public function get coins():int{
            return (this._coins);
        }
        public function get waiting():Boolean{
            return (this._waiting);
        }
        public function addMissingRoomType(_arg1:String):void{
            this._missingRoomTypes.push(_arg1);
        }
        public function get missingRoomTypes():Array{
            return (this._missingRoomTypes);
        }
        public function get hasMinLevel():Boolean{
            return (this._hasMinLevel);
        }
        public function set hasMinLevel(_arg1:Boolean):void{
            this._hasMinLevel = _arg1;
        }
        public function get isLocked():Boolean{
            return (((!(this._hasMinLevel)) || ((this._missingRoomTypes.length > 0))));
        }
        public function get rewardIcon():String{
            return (this._rewardIcon);
        }
        public function set rewardIcon(_arg1:String):void{
            this._rewardIcon = _arg1;
        }
        public function get numberOfRewards():int{
            return (this._numberOfRewards);
        }
        public function set numberOfRewards(_arg1:int):void{
            this._numberOfRewards = _arg1;
        }

    }
}//package net.wooga.pets.controllers.data 
